import { GlobalClass } from "../../../../com/mui/core/GlobalClass";
import { ImagesConst } from "../../resource/ImagesConst";
import { ObjCreate } from "../common/ObjCreate";
import { GLabel } from "../../../../com/mui/controls/GLabel";
type int = number;
//class EquipmentMoneySprite
    
    export  class EquipmentMoneySprite /* flash.display.Sprite */
    {
        constructor()
        {
            
            this.initUI();
            return;
        }

        protected initUI(): void
        {
            var loc1=GlobalClass.getBitmap(ImagesConst.Yuanbao);
            loc1.x = 0;
            loc1.y = 0;
            this.addChild(loc1);
            var loc2=GlobalClass.getBitmap(ImagesConst.Tongqian);
            loc2.x = 105;
            loc2.y = 0;
            this.addChild(loc2);
            var loc3=GlobalClass.getBitmap(ImagesConst.Tongqian_bind);
            loc3.x = 210;
            loc3.y = 0;
            this.addChild(loc3);
            this._goldLabel = ObjCreate.createLabel("", 20, 0, 90, 20, flash.text.TextFormatAlign.LEFT, this, false, 16776960);
            this._coinLabel = ObjCreate.createLabel("", 125, 0, 90, 20, flash.text.TextFormatAlign.LEFT, this, false, 16776960);
            this._coinBindLabel = ObjCreate.createLabel("", 230, 0, 90, 20, flash.text.TextFormatAlign.LEFT, this, false, 16776960);
            return;
        }

        public updateMoney(arg1: int, arg2: int, arg3: int): void
        {
            this._goldLabel.htmlText = arg1 + "";
            this._coinLabel.htmlText = arg2 + "";
            this._coinBindLabel.htmlText = arg3 + "";
            return;
        }

        /* internal */ /* var */_goldLabel: GLabel;

        /* internal */ /* var */_coinLabel: GLabel;

        /* internal */ /* var */_coinBindLabel: GLabel;
    }
